package com.open.capacity.finance.dto;

import lombok.Data;

import java.util.List;

@Data
public class OCRData {
    private String requestId;
    private String errorCode;
    private Result result;

    @Data
    public static class Result {
        private String orientation;
        private List<Resions> regions;
    }
    @Data
    public static class Resions {
        private String boundingBox;
        private String dir;
        private String lang;
        private List<Line> lines;
    }

    @Data
    public static class Line {
        private String boundingBox;
        private String textHeight;
        private String style;
        private String text;
        private String lang;
    }
}


